Skip to content

PDFStandardRectangle Class

Definition

Namespace: O2S.Components.PDF4NET.Graphics

Defines a rectangle in PDF coordinate system.

C#
public class PDFStandardRectangle : Object

Inheritance: Object → PDFStandardRectangle

Constructors

Name Description
PDFStandardRectangle() Initializes a new PDFStandardRectangle object.
PDFStandardRectangle(Double,Double,Double,Double) Initializes a new PDFStandardRectangle object.
PDFStandardRectangle(PDFPoint,PDFPoint) Initializes a new PDFStandardRectangle object.
PDFStandardRectangle(PDFStandardRectangle) Initializes a new PDFStandardRectangle object.

Properties

Name Description
Height Gets or sets the rectangle height.
LL Gets the position of lower-left corner.
LLX Gets the lower-left x coordinate.
LLY Gets the lower-left y coordinate.
UR Gets the position of upper-right corner.
URX Gets the upper-right x coordinate.
URY Gets the upper-right y coordinate.
Width Gets or sets the rectangle width.

Methods

Name Description
Intersect Computes the intersection of 2 rectangles.
IsPointInRectangle Tests if the given point is located inside the rectangle.
ToString Returns a String that represents the current Object.